package com.example.studentportrait.domain.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("student")
public class Student {
    private Long id;
    //学生账号
    private String account;
    //学校
    private String schoolCode;
    //学院
    private String college;
    //意向岗位
    private  String intendedPosition;
    //专业
    private String major;
    //年级
    private String gradeYear;
    //积分
    private Integer point;
    //年龄
    private Integer age;
    //政治面貌
    private String politicalStatus;
    //当前状态（待业、实习、就业、升学、考公）
    private String currentStatus;
    //是否特殊学生
    private Integer isSpecial;
    //特殊情况类型
    private String type;
    //特殊情况认证材料
    private String specialImg;
    //严重程度
    private String severity;
    //逻辑删除
    private Integer isDelete;
    @TableField(fill= FieldFill.INSERT)
    private Date createTime;
    @TableField(fill= FieldFill.INSERT_UPDATE)
    private Date updateTime;
}
